
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
abaabil.inputgroup
Advanced tools
The Input
component is a versatile and accessible input element designed for React applications. It supports various input types, icons, prefixes, and suffixes, making it ideal for forms and user input sections in your app.
To use the Input
component, first install the package from npm:
npm install abaabil.input
You can import the Input
component directly from the abaabil.input
package:
import Input from 'abaabil.input';
Alternatively, you can import it from the main abaabil
package:
import { Input } from 'abaabil';
Here's a basic example of how to use the Input
component:
<Input
id="example-input"
label="Example Label"
leadingIcon="photo"
trailingIcon="photo"
placeholder="Type here..."
/>
The Input
component supports various input types, allowing for flexibility in different scenarios:
<div className="space-y-4">
<Input id="text-input" label="Text Input" placeholder="Type here..." />
<Input id="password-input" label="Password Input" type="password" placeholder="Password" />
<Input id="email-input" label="Email Input" type="email" placeholder="Email" />
<Input id="search-input" label="Search Input" type="search" placeholder="Search" />
<Input id="number-input" label="Number Input" type="number" placeholder="Number" />
<Input id="date-input" label="Date Picker" type="date" />
<Input id="time-input" label="Time Picker" type="time" />
<Input id="datetime-input" label="Date-Time Picker" type="datetime-local" />
</div>
The Input
component accepts the following props:
Prop Name | Type | Description |
---|---|---|
id | string | The unique identifier for the input field. |
label | string | The label for the input field. |
type | string | The type of input field (e.g., text , password , email , number , etc.). |
value | string | The value of the input field. |
placeholder | string | The placeholder text for the input field. |
leadingIcon | string | Tabler icon ID to display at the start of the input field. |
trailingIcon | string | Tabler icon ID to display at the end of the input field. |
prefix | node | Content to display before the input field, such as an icon or text. |
suffix | node | Content to display after the input field, such as an icon or text. |
containerClassName | string | Additional CSS classes to apply to the outer container. |
labelWrapperClassName | string | Additional CSS classes to apply to the label element. |
prefixAndSuffixClassName | string | Additional CSS classes to apply to both the prefix and suffix elements. |
inputElementClassName | string | Additional CSS classes to apply to the input element itself. |
disabled | bool | Whether the input field is disabled. |
ariaLabel | string | Defines a string value that labels the input field. |
ariaDescribedBy | string | Identifies the element that describes the input field. |
ariaRequired | bool | Indicates whether the input field is required. |
onChange | function | Callback function that triggers when the input value changes. |
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions to improve this component. Please submit a pull request or raise an issue to discuss any changes.
Thanks to everyone who contributed to the development of this component.
FAQs
Unknown package
The npm package abaabil.inputgroup receives a total of 0 weekly downloads. As such, abaabil.inputgroup popularity was classified as not popular.
We found that abaabil.inputgroup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.